package hu.cskassai.sad.model.graph;

import java.math.BigDecimal;

public interface Edge extends GraphElement {
	
	Vertex2D getFromVertex();
	
	void setFromVertex(Vertex2D fromVertex);
	
	Vertex2D getToVertex();
	
	void setToVertex(Vertex2D toVertex);
	
	BigDecimal getWeight();
	
	void setWeight(BigDecimal weight);
	
}
